/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.co.mzansicarrental.services.cruds.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import za.co.mzansicarrental.model.Employee;
import za.co.mzansicarrental.repository.GenericDAO;
import za.co.mzansicarrental.services.cruds.EmployeeCrudService;

/**
 *
 * @author Siya
 */
@Service("employeeCrudService")
@Transactional
public class EmployeeCrudServiceImpl implements EmployeeCrudService{

    @Autowired
    private GenericDAO<Employee> dao;

    public final void setDao(final GenericDAO<Employee> daoToSet) {
        this.dao = daoToSet;
        this.dao.setClazz(Employee.class);
    }

    @Override
    public Employee findById(Long id) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List<Employee> findAll() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void persist(Employee entity) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void merge(Employee entity) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void remove(Employee entity) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void removeById(Long entityId) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List<Employee> findInRange(int firstResult, int maxResults) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public long count() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Employee getByPropertyName(String name, String value) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List<Employee> getEntitiesByProperName(String name, String value) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
